package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.PurchaseOrderAudit;

/**
 * 采购订单审核Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface PurchaseOrderAuditMapper 
{
    /**
     * 查询采购订单审核
     * 
     * @param auditId 采购订单审核主键
     * @return 采购订单审核
     */
    public PurchaseOrderAudit selectPurchaseOrderAuditByAuditId(Long auditId);

    /**
     * 查询采购订单审核列表
     * 
     * @param purchaseOrderAudit 采购订单审核
     * @return 采购订单审核集合
     */
    public List<PurchaseOrderAudit> selectPurchaseOrderAuditList(PurchaseOrderAudit purchaseOrderAudit);

    /**
     * 新增采购订单审核
     * 
     * @param purchaseOrderAudit 采购订单审核
     * @return 结果
     */
    public int insertPurchaseOrderAudit(PurchaseOrderAudit purchaseOrderAudit);

    /**
     * 修改采购订单审核
     * 
     * @param purchaseOrderAudit 采购订单审核
     * @return 结果
     */
    public int updatePurchaseOrderAudit(PurchaseOrderAudit purchaseOrderAudit);

    /**
     * 删除采购订单审核
     * 
     * @param auditId 采购订单审核主键
     * @return 结果
     */
    public int deletePurchaseOrderAuditByAuditId(Long auditId);

    /**
     * 批量删除采购订单审核
     * 
     * @param auditIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseOrderAuditByAuditIds(String[] auditIds);
}
